package com.boot.bootweb;

import cn.hutool.cache.CacheUtil;
import cn.hutool.cache.impl.FIFOCache;

/**
 * @Description TODO
 * @Author GuoShao
 * @Date 2019/1/17 10:31
 * @Version 1.0
 **/
public class test {

    public static void main(String[] args) {
        FIFOCache<Object, Object> objects = CacheUtil.newFIFOCache(20);
        objects.put("2","1");
        System.out.println(objects.get("2"));
    }

}
